<?php

use Faker\Generator as Faker;

$factory->define(App\Models\ProductSku::class, function (Faker $faker) {

    $a = [
        '高',
        '中',
        '低',
    ];
    $b = [
        'tang',
        'kafei',
    ];
    $aa = $faker->randomElement($a);
    $bb = $faker->randomElement($b);
    return [
        'type' => json_encode([
            $bb => $aa,
        ]),
    ];
});
